<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="/common/common.jspf" %>
<link rel="stylesheet" type="text/css" href="${ctx}/js/date/jquery.datetimepicker.css"/>
<script type="text/javascript" src="${ctx}/js/system/activity/add.js">
</script>
<style type="text/css">
.col-sm-6 {
	width: 45%;
	float: left;
}
.col-sm-12 {
	width: 100%;
	float: left;
}
.red {
	color: rgb(255, 0, 0);
}

label[class^="btn btn-default"] {
	margin-top: -4px;
}
</style>
</head>
<body>
	<div class="l_err" style="width: 100%; margin-top: 2px;"></div>
	<form id="form" name="form" class="form-horizontal" method="post"
		action="${ctx}/luckydraw/addAtEntity.shtml">
		<input type="hidden" class="form-control checkacc" value="${activity.pid}"
			name="activityFormMap.pid" id="pid">
		<section class="panel panel-default">
		<div class="panel-body">
			
				<div class="form-group">
					<label class="col-sm-6 control-label"><span class="red">*</span>一等奖设置：</label>
					<div class="col-sm-6">
						<input type="text" class="form-control checkRole"
							placeholder="请输入一等奖设置" name="activityFormMap.onejp" id="onejp" value="${activity.onejp}" required="required"/>
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-6 control-label"><span class="red">*</span>一等奖展示数量：</label>
					<div class="col-sm-6">
						<input type="text" class="form-control checkacc" onkeyup="this.value=this.value.replace(/\D/g,'')"  onafterpaste="this.value=this.value.replace(/\D/g,'')" 
							placeholder="请输入数量" name="activityFormMap.onenum" id="onenum" value="${activity.onenum}" required="required" />
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-6 control-label"><span class="red">*</span>一等奖放出数量：</label>
					<div class="col-sm-6">
						<input type="text" class="form-control checkacc" onkeyup="this.value=this.value.replace(/\D/g,'')"  onafterpaste="this.value=this.value.replace(/\D/g,'')" 
							placeholder="请输入数量" name="activityFormMap.onenumber" id="onenumber" value="${activity.onenumber}" required="required" />
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-6 control-label">二等奖设置：</label>
					<div class="col-sm-6">
						<input type="text" class="form-control checkRole"
							placeholder="请输入二等奖设置" name="activityFormMap.twojp" id="twojp" value="${activity.twojp}"/>
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-6 control-label">二等奖展示数量：</label>
					<div class="col-sm-6">
						<input type="text" class="form-control checkacc" onkeyup="this.value=this.value.replace(/\D/g,'')"  onafterpaste="this.value=this.value.replace(/\D/g,'')" 
							placeholder="请输入数量" name="activityFormMap.twonum" id="twonum" value="${activity.twoum}" />
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-6 control-label">二等奖放出数量：</label>
					<div class="col-sm-6">
						<input type="text" class="form-control checkacc" onkeyup="this.value=this.value.replace(/\D/g,'')"  onafterpaste="this.value=this.value.replace(/\D/g,'')" 
							placeholder="请输入数量" name="activityFormMap.twonumber" id="twonumber" value="${activity.twonumber}" />
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-6 control-label">三等奖设置：</label>
					<div class="col-sm-6">
						<input type="text" class="form-control checkRole"
							placeholder="请输入三等奖设置" name="activityFormMap.threejp" id="threejp" value="${activity.threejp}"/>
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-6 control-label">三等奖展示数量：</label>
					<div class="col-sm-6">
						<input type="text" class="form-control checkacc" onkeyup="this.value=this.value.replace(/\D/g,'')"  onafterpaste="this.value=this.value.replace(/\D/g,'')" 
							placeholder="请输入数量" name="activityFormMap.threenum" id="threenum" value="${activity.threenum}" />
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-6 control-label">三等奖放出数量：</label>
					<div class="col-sm-6">
						<input type="text" class="form-control checkacc" onkeyup="this.value=this.value.replace(/\D/g,'')"  onafterpaste="this.value=this.value.replace(/\D/g,'')" 
							placeholder="请输入数量" name="activityFormMap.threenumber" id="threenumber" value="${activity.threenumber}" />
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-6 control-label">四等奖设置：</label>
					<div class="col-sm-6">
						<input type="text" class="form-control checkRole"
							placeholder="请输入四等奖设置" name="activityFormMap.fourjp" id="fourjp" value="${activity.fourjp}"/>
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-6 control-label">四等奖展示数量：</label>
					<div class="col-sm-6">
						<input type="text" class="form-control checkacc" onkeyup="this.value=this.value.replace(/\D/g,'')"  onafterpaste="this.value=this.value.replace(/\D/g,'')" 
							placeholder="请输入数量" name="activityFormMap.fournum" id="fournum" value="${activity.fournum}" />
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-6 control-label">四等奖放出数量：</label>
					<div class="col-sm-6">
						<input type="text" class="form-control checkacc" onkeyup="this.value=this.value.replace(/\D/g,'')"  onafterpaste="this.value=this.value.replace(/\D/g,'')" 
							placeholder="请输入数量" name="activityFormMap.fournumber" id="fournumber" value="${activity.fournumber}" />
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-6 control-label">五等奖设置：</label>
					<div class="col-sm-6">
						<input type="text" class="form-control checkRole"
							placeholder="请输入五等奖设置" name="activityFormMap.fivejp" id="fivejp" value="${activity.fivejp}"/>
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-6 control-label">五等奖展示数量：</label>
					<div class="col-sm-6">
						<input type="text" class="form-control checkacc" onkeyup="this.value=this.value.replace(/\D/g,'')"  onafterpaste="this.value=this.value.replace(/\D/g,'')" 
							placeholder="请输入数量" name="activityFormMap.fivenum" id="fivenum" value="${activity.fivenum}" />
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-6 control-label">五等奖放出数量：</label>
					<div class="col-sm-6">
						<input type="text" class="form-control checkacc" onkeyup="this.value=this.value.replace(/\D/g,'')"  onafterpaste="this.value=this.value.replace(/\D/g,'')" 
							placeholder="请输入数量" name="activityFormMap.fivenumber" id="fivenumber" value="${activity.fivenumber}" />
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-6 control-label">预计抽奖次数：</label>
					<div class="col-sm-6">
						<input type="text" class="form-control checkacc" onkeyup="this.value=this.value.replace(/\D/g,'')"  onafterpaste="this.value=this.value.replace(/\D/g,'')" 
							placeholder="请输入数量" name="activityFormMap.yjusernum" id="yjusernum" value="${activity.yjusernum}" required="required" />
					</div>
					<label class="col-sm-12 control-label"><span class="red">*&nbsp;设置抽奖次数为抽多少次内奖奖品放出</span></label>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
			</div>	
		<footer class="panel-footer text-right bg-light lter">
			<button type="submit" class="btn btn-success btn-s-xs">提交</button>
		</footer> 
		</section>
	</form>
</body>
<script type="text/javascript">
$('#startTime').datetimepicker({
	mask:'9999-19-39 29:59'
});
$('#endTime').datetimepicker({
	mask:'9999-19-39 29:59'
});

</script>
</html>